package com.aaa.sbm.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

//@Data  //默认加上getter setter   constructor  toString 等功能
public class Dept implements Serializable {
    private Integer deptNo;
    private String dname;
    private String loc;
    private String path;
    private List<DeptImg> deptImgList;



    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<DeptImg> getDeptImgList() {
        return deptImgList;
    }

    public void setDeptImgList(List<DeptImg> deptImgList) {
        this.deptImgList = deptImgList;
    }
}
